<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="jquery/jquery.min.js"></script>
	</head>
	<body>
		<div>
			<span id="itemId">编号：</span>
		</div>
		
		<div>
			<span id="itemPrice">价格：</span>
		</div>
	</body>
	<script>
		var jsonstr='[{"p":"4899.00","op":"5299.00","cbf":"0","id":"J_100008348542","m":"6000.00"}]'
		console.log(jsonstr)
		
		
		var items=JSON.parse(jsonstr)
		console.log(items[0])
		console.log(items[0].p)
		console.log(items[0].id)
		
		$("#itemId").text(items[0].id)
		$("#itemId").css("color","blue")
		
		$("#itemPrice").text(items[0].p)
		$("#itemPrice").css("color","red")
	</script>
</html>
